package com.kanas.webak.config.service;

import java.util.List;

import com.kanas.webak.config.domain.Properties;
import com.kanas.webak.config.domain.PropertiesGroup;

public interface PropertiesService {
	Properties create(Properties p, String groupCode) throws Exception;
	Properties update(Properties p) throws Exception;
	Properties updateValue(Properties p) throws Exception;
	String delete(Properties p) throws Exception;
	Properties findOne(String id);
	List<Properties> findByGroup(String groupCode);
	
	PropertiesGroup createGroup(PropertiesGroup g) throws Exception;
	List<PropertiesGroup> findGroups();
}
